// src/api/message.js
import instance from '../utils/request.js'; 

export const getMessagesByDialogId = (dialogId) => instance.get(`/message/selectByDialogId?dialogId=${dialogId}`);
export const createMessage = (message) => instance.post('/message/insert', message);